import dotenv from "dotenv"

import { defineConfig } from 'vite'
import { join, resolve } from "path";
import vue from '@vitejs/plugin-vue'

// const root = join(__dirname, "src/render")

// https://vitejs.dev/config/
export default defineConfig({
  // base: resolve(__dirname, './dist/'), // 新增
  base: "./",	// 新增
  plugins: [vue()],
  server: {
    port: 3000,
    proxy: {}
  },

})
